﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Imgur.Net.Auth;
using Moq;
using NUnit.Framework;

namespace Imgur.Net.Test
{
    [TestFixture]
    public class AuthenticationContextChangeEventArgsTests
    {
        [Test]
        public void CreateInstanceTest()
        {
            Mock<ImgurAuthContext> mockOldContext = new Mock<ImgurAuthContext>();
            Mock<ImgurAuthContext> mockNewContext = new Mock<ImgurAuthContext>();

            var instance = new AuthenticationContextChangeEventArgs(mockOldContext.Object, mockNewContext.Object);

            Assert.IsNotNull(instance);

            mockOldContext.VerifyAll();
            mockNewContext.VerifyAll();
        }
    }
}
